package cn.net.mugui.net.conf;

import com.mugui.bean.JsonBean;
import com.mugui.sql.SQLDB;
import com.mugui.sql.SQLField;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@SuppressWarnings("serial")
@Getter
@Setter
@Accessors(chain = true)
@SQLDB(TABLE = "sys_conf", KEY = "id")
public class SysConfBean extends JsonBean {

    @SQLField(AUTOINCREMENT = true, PRIMARY_KEY = true, AUTOINCREMENT_value = "autoincrement")
    private Integer id;
    /**
     * key键
     */
    @SQLField
    private String key;
    /**
     * value
     */
    @SQLField(DATA_TYPE = "varchar(256)")
    private String value;
    /**
     * 描述
     */
    @SQLField
    private String detail;

}
